package com.wang.project.pay.zfb;

import com.wang.project.model.modle.PayModel;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface AlipayFaceToFaceService {

    /**
     * 提交预约下单
     *
     * @param request
     * @param response
     * @param freshKeyPayModel
     * @return
     */
    ZFBPreorderActionVO ZFBPreorderAction(HttpServletRequest request, HttpServletResponse response, PayModel freshKeyPayModel);


    /**
     * 查询交易状态
     *
     * @param request
     * @param response
     * @return
     */
    Map<String, Object> findZFB_tradeAction(String outTradeNo,HttpServletRequest request, HttpServletResponse response);

    /**
     * 支付成功后的回调
     * @param request
     * @param response
     */
    void ZFBcallback(HttpServletRequest request, HttpServletResponse response);

}
